/*
 * @Description: 课程通用方法
 * @Version: 2.0
 * @Autor: Seven
 * @Date: 2020-12-14 10:31:56
 * @LastEditors: Seven
 * @LastEditTime: 2020-12-14 10:36:40
 */
export default {
    methods: {
        _url(type, id) {
            if (type === 1) {
                return `/courseCenter/courseVideo/${id}`;
            } else if (type === 2) {
                return `/courseCenter/courseDelis/${id}`;
            } else {
                return "/404";
            }
        },
    }
}